package com.SpringMVC.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author:liuwei
 * @creatdate:2022-03-02-10:05
 */
@Controller
public class TestController {
	@RequestMapping("/")
	public String index(){
		return "index";
	}

	@RequestMapping("/test_view")
	public String testView(){
		return "test_view";
	}
	@RequestMapping("/test_rest")
	public String testRest(){
		return "test_rest";
	}
}
